import request from '@/utils/request'

// 查询派工单明细列表
export function listExebilldetail(query) {
  return request({
    url: '/system/exebilldetail/list',
    method: 'get',
    params: query
  })
}

// 查询派工单明细详细
export function getExebilldetail(id) {
  return request({
    url: '/system/exebilldetail/' + id,
    method: 'get'
  })
}

// 新增派工单明细
export function addExebilldetail(data) {
  return request({
    url: '/system/exebilldetail',
    method: 'post',
    data: data
  })
}

// 修改派工单明细
export function updateExebilldetail(data) {
  return request({
    url: '/system/exebilldetail',
    method: 'put',
    data: data
  })
}

// 删除派工单明细
export function delExebilldetail(id) {
  return request({
    url: '/system/exebilldetail/' + id,
    method: 'delete'
  })
}
